package com.web3.management.repository;

import com.web3.management.entity.AccountConfigHistory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountConfigHistoryRepository extends JpaRepository<AccountConfigHistory, Integer> {

    Page<AccountConfigHistory> findByAccountConfigIdOrderByCreatedAtDesc(Integer accountConfigId, Pageable pageable);
}
